<!-- Generated automatically from an XML file of the same name.
     Copyright: Stephen J. Sangwine and Nicolas Le Bihan, 2008-2011.
--><html><head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   <title>qi/qj/qk :: Functions (Quaternion Toolbox Function Reference)
</title><link rel="stylesheet" href="qtfmstyle.css" type="text/css"></head><body><h1>Quaternion Function Reference</h1><h2>qi/qj/qk</h2>
<p>Quaternion operators i, j and k</p>
<h2>Syntax</h2><p><tt>qi/qj/qk</tt></p>
<h2>Description</h2>
<p>
These three functions return constant quaternions with values corresponding
to the three quaternion operators <b>i</b>, <b>j</b> and
<b>k</b>.
</p>
<p>
The symbol <tt>i</tt> is a builtin MATLAB&reg; operator for the
complex root of -1, and therefore it cannot be used for the quaternion
<b>i</b>. This is why the notation <tt>qi</tt> is used.
</p>

<h2>Examples</h2>
<pre>
&gt;&gt; qi + qj + qk
 
ans = 1 * I + 1 * J + 1 * K
</pre>

<h4>&copy; 2008-2011 Stephen J. Sangwine and Nicolas Le Bihan</h4><p><a href="license.html">License terms.</a></p></body></html>